package dao;


import entity.Subject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SubjectMapper {
    public List<Subject> findALL();
    public int add(Subject s);
    public int update(Subject s);
    public int del(long id);
    public Subject get(long id);
    //分页查询
    public List<Subject> fenye(@Param("pageNo")int pageNo, @Param("pageSize")int pageSize);
}
